<?php

/**
 * @author NgAnh
 * @copyright 2013
 */
class Classmodel extends CI_Model {
    var $class_id;
    var $faculty_id;
    var $is_deleted;
    var $created_by_user_id;
    var $created_on_date;
    var $last_modified_by_user_id;
    var $last_modified_on_date;
    
    function __construct()
    {
        // Call the Model constructor
        $this->load->database();
    }
    function get_class_list($fac){
        $query = $this->db->get_where('sur_class',array('is_deleted'=> false, 'faculty_id'=> $fac));
        return $query->result_array();
    }
}


?>